package com.gitee.wsl.ext.number

 fun Float.floor() = kotlin.math.floor(this)

 fun Float.floorToInt() = kotlin.math.floor(this).toInt()

/** Converts [this] into [Int] rounding to the floor */
fun Float.toIntFloor(): Int = kotlin.math.floor(this).toInt()
/** Converts [this] into [Int] rounding to the floor */
fun Double.toIntFloor(): Int = kotlin.math.floor(this).toInt()